/**
 * 考试监控大屏专用样式
 * @description 基于 AmisCards 框架的监控大屏样式定制
 */

/* ========== 头部区域小清新美化样式 ========== */

/* 页面标题样式 - 优化小清新风格 */
.exam-monitor-page-title {
    text-align: center;
    border: 1px solid rgba(52, 152, 219, 0.12);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.exam-monitor-page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    animation: header-shimmer 3s ease-in-out infinite;
}

@keyframes header-shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.exam-monitor-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.exam-monitor-title i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: title-icon-pulse 2.5s ease-in-out infinite;
}

@keyframes title-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.exam-monitor-subtitle {
    color: #34495e;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.exam-monitor-subtitle .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.exam-monitor-subtitle .feature-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.exam-monitor-subtitle .feature-item i {
    color: #667eea;
    font-size: 0.9rem;
    margin: 0;
    opacity: 1;
    vertical-align: 0;
}

/* 暗色主题适配 - 小清新风格 */
.amis-cards-theme-dark .exam-monitor-page-title {
    background: rgba(44, 62, 80, 0.95);
    border-color: rgba(116, 185, 255, 0.2);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.amis-cards-theme-dark .exam-monitor-page-title::before {
    background: linear-gradient(90deg, 
        #74b9ff 0%, 
        #a29bfe 25%, 
        #fd79a8 50%, 
        #a29bfe 75%, 
        #74b9ff 100%);
}

.amis-cards-theme-dark .exam-monitor-title {
    color: #ecf0f1;
}

.amis-cards-theme-dark .exam-monitor-title i {
    background: linear-gradient(135deg, #74b9ff, #a29bfe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amis-cards-theme-dark .exam-monitor-page-subtitle-wrapper {
    background: rgba(52, 73, 94, 0.92);
    border-color: rgba(116, 185, 255, 0.15);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.amis-cards-theme-dark .exam-monitor-page-subtitle-wrapper::before {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(116, 185, 255, 0.3) 50%, 
        transparent 100%);
}

.amis-cards-theme-dark .exam-monitor-subtitle {
    color: #bdc3c7;
}

.amis-cards-theme-dark .exam-monitor-subtitle .feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.amis-cards-theme-dark .exam-monitor-subtitle .feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.amis-cards-theme-dark .exam-monitor-subtitle .feature-item i {
    color: #74b9ff;
}

.amis-cards-theme-dark .exam-monitor-info-item {
    background: rgba(52, 73, 94, 0.9);
    border-color: rgba(52, 152, 219, 0.15);
    color: #ecf0f1;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.amis-cards-theme-dark .exam-monitor-info-item:hover {
    background: rgba(69, 90, 120, 0.9);
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.15);
}

.amis-cards-theme-dark .info-label {
    color: #95a5a6;
}

.amis-cards-theme-dark .info-value {
    color: #ecf0f1;
}

.amis-cards-theme-dark .info-highlight {
    color: #e74c3c !important;
}

.amis-cards-theme-dark .cxd-Page-toolbar {
    background: rgba(52, 73, 94, 0.9);
    border-color: rgba(52, 152, 219, 0.15);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.amis-cards-theme-dark .cxd-Page-toolbar .cxd-Button {
    background: rgba(69, 90, 120, 0.8) !important;
    border-color: rgba(52, 152, 219, 0.2) !important;
    color: #ecf0f1 !important;
}

.amis-cards-theme-dark .cxd-Page-toolbar .cxd-Button:hover {
    background: #3498db !important;
    color: #ffffff !important;
    border-color: #3498db !important;
}

/* 暗色主题下的特定图标颜色 */
.amis-cards-theme-dark .exam-monitor-info-item i.fa-id-card {
    color: #c39bd3;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-university {
    color: #f8c471;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-play-circle {
    color: #58d68d;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-users {
    color: #f0b27a;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-stop-circle {
    color: #ec7063;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-hourglass-half {
    color: #f7dc6f;
}

.amis-cards-theme-dark .exam-monitor-info-item i.fa-sync-alt {
    color: #76d7c4;
}

/* 性能优化 */
.exam-monitor-page-title,
.exam-monitor-page-subtitle-wrapper,
.exam-monitor-info-item {
    will-change: transform;
}